package com.atguigu.controller;

import com.atguigu.entity.User;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TestController {
	@RequestMapping("/test/getInfo")
	public String testGetInfo(User user){
		System.out.println(user);
		return "ok";
	}


}
